<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OsinfoInstallScript: Libosinfo Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Libosinfo Reference Manual">
<link rel="up" href="ch01.html" title="Libosinfo">
<link rel="prev" href="OsinfoInstallConfigParamList.html" title="OsinfoInstallConfigParamList">
<link rel="next" href="OsinfoInstallScriptList.html" title="OsinfoInstallScriptList">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#OsinfoInstallScript.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#OsinfoInstallScript.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#OsinfoInstallScript.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="OsinfoInstallConfigParamList.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="OsinfoInstallScriptList.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="OsinfoInstallScript"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="OsinfoInstallScript.top_of_page"></a>OsinfoInstallScript</span></h2>
<p>OsinfoInstallScript — OS install script generation</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="OsinfoInstallScript.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-new" title="osinfo_install_script_new ()">osinfo_install_script_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-new-uri" title="osinfo_install_script_new_uri ()">osinfo_install_script_new_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-new-data" title="osinfo_install_script_new_data ()">osinfo_install_script_new_data</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-template-uri" title="osinfo_install_script_get_template_uri ()">osinfo_install_script_get_template_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-template-data" title="osinfo_install_script_get_template_data ()">osinfo_install_script_get_template_data</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-profile" title="osinfo_install_script_get_profile ()">osinfo_install_script_get_profile</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-product-key-format" title="osinfo_install_script_get_product_key_format ()">osinfo_install_script_get_product_key_format</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-set-output-prefix" title="osinfo_install_script_set_output_prefix ()">osinfo_install_script_set_output_prefix</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-output-prefix" title="osinfo_install_script_get_output_prefix ()">osinfo_install_script_get_output_prefix</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-output-filename" title="osinfo_install_script_get_output_filename ()">osinfo_install_script_get_output_filename</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-expected-filename" title="osinfo_install_script_get_expected_filename ()">osinfo_install_script_get_expected_filename</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoAvatarFormat.html" title="OsinfoAvatarFormat"><span class="returnvalue">OsinfoAvatarFormat</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-avatar-format" title="osinfo_install_script_get_avatar_format ()">osinfo_install_script_get_avatar_format</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-async" title="osinfo_install_script_generate_async ()">osinfo_install_script_generate_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-finish" title="osinfo_install_script_generate_finish ()">osinfo_install_script_generate_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate" title="osinfo_install_script_generate ()">osinfo_install_script_generate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-async" title="osinfo_install_script_generate_output_async ()">osinfo_install_script_generate_output_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-finish" title="osinfo_install_script_generate_output_finish ()">osinfo_install_script_generate_output_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output" title="osinfo_install_script_generate_output ()">osinfo_install_script_generate_output</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-for-media-async" title="osinfo_install_script_generate_for_media_async ()">osinfo_install_script_generate_for_media_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-for-media-finish" title="osinfo_install_script_generate_for_media_finish ()">osinfo_install_script_generate_for_media_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-for-media" title="osinfo_install_script_generate_for_media ()">osinfo_install_script_generate_for_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-for-media-async" title="osinfo_install_script_generate_output_for_media_async ()">osinfo_install_script_generate_output_for_media_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-for-media-finish" title="osinfo_install_script_generate_output_for_media_finish ()">osinfo_install_script_generate_output_for_media_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-for-media" title="osinfo_install_script_generate_output_for_media ()">osinfo_install_script_generate_output_for_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-command-line" title="osinfo_install_script_generate_command_line ()">osinfo_install_script_generate_command_line</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-command-line-for-media" title="osinfo_install_script_generate_command_line_for_media ()">osinfo_install_script_generate_command_line_for_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-has-config-param" title="osinfo_install_script_has_config_param ()">osinfo_install_script_has_config_param</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-has-config-param-name" title="osinfo_install_script_has_config_param_name ()">osinfo_install_script_has_config_param_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallConfigParam.html" title="OsinfoInstallConfigParam"><span class="returnvalue">OsinfoInstallConfigParam</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-config-param" title="osinfo_install_script_get_config_param ()">osinfo_install_script_get_config_param</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-config-param-list" title="osinfo_install_script_get_config_param_list ()">osinfo_install_script_get_config_param_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallConfigParamList.html" title="OsinfoInstallConfigParamList"><span class="returnvalue">OsinfoInstallConfigParamList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-config-params" title="osinfo_install_script_get_config_params ()">osinfo_install_script_get_config_params</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html#OsinfoPathFormat" title="enum OsinfoPathFormat"><span class="returnvalue">OsinfoPathFormat</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-path-format" title="osinfo_install_script_get_path_format ()">osinfo_install_script_get_path_format</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-can-pre-install-drivers" title="osinfo_install_script_get_can_pre_install_drivers ()">osinfo_install_script_get_can_pre_install_drivers</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-can-post-install-drivers" title="osinfo_install_script_get_can_post_install_drivers ()">osinfo_install_script_get_can_post_install_drivers</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-pre-install-drivers-signing-req" title="osinfo_install_script_get_pre_install_drivers_signing_req ()">osinfo_install_script_get_pre_install_drivers_signing_req</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-post-install-drivers-signing-req" title="osinfo_install_script_get_post_install_drivers_signing_req ()">osinfo_install_script_get_post_install_drivers_signing_req</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">unsigned <span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-injection-methods" title="osinfo_install_script_get_injection_methods ()">osinfo_install_script_get_injection_methods</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-needs-internet" title="osinfo_install_script_get_needs_internet ()">osinfo_install_script_get_needs_internet</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-set-preferred-injection-method" title="osinfo_install_script_set_preferred_injection_method ()">osinfo_install_script_set_preferred_injection_method</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInjectionMethod" title="enum OsinfoInstallScriptInjectionMethod"><span class="returnvalue">OsinfoInstallScriptInjectionMethod</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-preferred-injection-method" title="osinfo_install_script_get_preferred_injection_method ()">osinfo_install_script_get_preferred_injection_method</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-set-installation-source" title="osinfo_install_script_set_installation_source ()">osinfo_install_script_set_installation_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInstallationSource" title="enum OsinfoInstallScriptInstallationSource"><span class="returnvalue">OsinfoInstallScriptInstallationSource</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-get-installation-source" title="osinfo_install_script_get_installation_source ()">osinfo_install_script_get_installation_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsinfoInstallScript.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--application-id" title="The “application-id” property">application-id</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--architecture" title="The “architecture” property">architecture</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--eject-after-install" title="The “eject-after-install” property">eject-after-install</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--initrd-path" title="The “initrd-path” property">initrd-path</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--installer" title="The “installer” property">installer</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--installer-reboots" title="The “installer-reboots” property">installer-reboots</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--installer-script" title="The “installer-script” property">installer-script</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--kernel-path" title="The “kernel-path” property">kernel-path</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--languages" title="The “languages” property">languages</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--live" title="The “live” property">live</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--os" title="The “os” property">os</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--publisher-id" title="The “publisher-id” property">publisher-id</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--system-id" title="The “system-id” property">system-id</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--url" title="The “url” property">url</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--volume-id" title="The “volume-id” property">volume-id</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia--volume-size" title="The “volume-size” property">volume-size</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoOs--distro" title="The “distro” property">distro</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoOs--family" title="The “family” property">family</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="OsinfoAvatarFormat.html" title="OsinfoAvatarFormat"><span class="type">OsinfoAvatarFormat</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--avatar-format" title="The “avatar-format” property">avatar-format</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInstallationSource" title="enum OsinfoInstallScriptInstallationSource"><span class="type">OsinfoInstallScriptInstallationSource</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--installation-source" title="The “installation-source” property">installation-source</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="OsinfoInstallScript.html#OsinfoPathFormat" title="enum OsinfoPathFormat"><span class="type">OsinfoPathFormat</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--path-format" title="The “path-format” property">path-format</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInjectionMethod" title="enum OsinfoInstallScriptInjectionMethod"><span class="type">OsinfoInstallScriptInjectionMethod</span></a></td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--preferred-injection-method" title="The “preferred-injection-method” property">preferred-injection-method</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--product-key-format" title="The “product-key-format” property">product-key-format</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--profile" title="The “profile” property">profile</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--template-data" title="The “template-data” property">template-data</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScript--template-uri" title="The “template-uri” property">template-uri</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
</tbody>
</table></div>
</div>
<a name="OsinfoMedia"></a><a name="OsinfoOs"></a><div class="refsect1">
<a name="OsinfoInstallScript.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROFILE-JEOS:CAPS" title="OSINFO_INSTALL_SCRIPT_PROFILE_JEOS">OSINFO_INSTALL_SCRIPT_PROFILE_JEOS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROFILE-DESKTOP:CAPS" title="OSINFO_INSTALL_SCRIPT_PROFILE_DESKTOP">OSINFO_INSTALL_SCRIPT_PROFILE_DESKTOP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-TEMPLATE-URI:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_URI">OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_URI</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-TEMPLATE-DATA:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_DATA">OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_DATA</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-PROFILE:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_PROFILE">OSINFO_INSTALL_SCRIPT_PROP_PROFILE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-PRODUCT-KEY-FORMAT:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_PRODUCT_KEY_FORMAT">OSINFO_INSTALL_SCRIPT_PROP_PRODUCT_KEY_FORMAT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-EXPECTED-FILENAME:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_EXPECTED_FILENAME">OSINFO_INSTALL_SCRIPT_PROP_EXPECTED_FILENAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-PATH-FORMAT:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_PATH_FORMAT">OSINFO_INSTALL_SCRIPT_PROP_PATH_FORMAT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-CAN-PRE-INSTALL-DRIVERS:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_CAN_PRE_INSTALL_DRIVERS">OSINFO_INSTALL_SCRIPT_PROP_CAN_PRE_INSTALL_DRIVERS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-CAN-POST-INSTALL-DRIVERS:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_CAN_POST_INSTALL_DRIVERS">OSINFO_INSTALL_SCRIPT_PROP_CAN_POST_INSTALL_DRIVERS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-NEEDS-INTERNET:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_NEEDS_INTERNET">OSINFO_INSTALL_SCRIPT_PROP_NEEDS_INTERNET</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-PRE-INSTALL-DRIVERS-SIGNING-REQ:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_PRE_INSTALL_DRIVERS_SIGNING_REQ">OSINFO_INSTALL_SCRIPT_PROP_PRE_INSTALL_DRIVERS_SIGNING_REQ</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-POST-INSTALL-DRIVERS-SIGNING-REQ:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_POST_INSTALL_DRIVERS_SIGNING_REQ">OSINFO_INSTALL_SCRIPT_PROP_POST_INSTALL_DRIVERS_SIGNING_REQ</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-INJECTION-METHOD:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_INJECTION_METHOD">OSINFO_INSTALL_SCRIPT_PROP_INJECTION_METHOD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-PREFERRED-INJECTION-METHOD:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_PREFERRED_INJECTION_METHOD">OSINFO_INSTALL_SCRIPT_PROP_PREFERRED_INJECTION_METHOD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OSINFO-INSTALL-SCRIPT-PROP-INSTALLATION-SOURCE:CAPS" title="OSINFO_INSTALL_SCRIPT_PROP_INSTALLATION_SOURCE">OSINFO_INSTALL_SCRIPT_PROP_INSTALLATION_SOURCE</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OsinfoPathFormat" title="enum OsinfoPathFormat">OsinfoPathFormat</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OsinfoDeviceDriverSigningReq" title="enum OsinfoDeviceDriverSigningReq">OsinfoDeviceDriverSigningReq</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInjectionMethod" title="enum OsinfoInstallScriptInjectionMethod">OsinfoInstallScriptInjectionMethod</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInstallationSource" title="enum OsinfoInstallScriptInstallationSource">OsinfoInstallScriptInstallationSource</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OsinfoMedia-struct" title="OsinfoMedia">OsinfoMedia</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="OsinfoInstallScript.html#OsinfoOs-struct" title="OsinfoOs">OsinfoOs</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsinfoInstallScript.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
    <span class="lineart">├──</span> OsinfoDeviceDriverSigningReq
    <span class="lineart">├──</span> OsinfoInstallScriptInstallationSource
    <span class="lineart">╰──</span> OsinfoPathFormat
    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
    <span class="lineart">╰──</span> OsinfoInstallScriptInjectionMethod
    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="OsinfoEntity.html" title="OsinfoEntity">OsinfoEntity</a>
        <span class="lineart">├──</span> OsinfoInstallScript
        <span class="lineart">├──</span> <a class="link" href="OsinfoProduct.html" title="OsinfoProduct">OsinfoProduct</a>
        <span class="lineart">│</span>   <span class="lineart">╰──</span> OsinfoOs
        <span class="lineart">╰──</span> OsinfoMedia
</pre>
</div>
<div class="refsect1">
<a name="OsinfoInstallScript.description"></a><h2>Description</h2>
<p><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> is an object used to generate an
automated installation script for an OS. The OS
configuration data (language, keyboard, timezone, ...)
comes from an <a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> object.</p>
</div>
<div class="refsect1">
<a name="OsinfoInstallScript.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="osinfo-install-script-new"></a><h3>osinfo_install_script_new ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
osinfo_install_script_new (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-new-uri"></a><h3>osinfo_install_script_new_uri ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
osinfo_install_script_new_uri (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>,
                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *profile</code></em>,
                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *templateUri</code></em>);</pre>
<p>Construct a new install script from a stylesheet URI</p>
<div class="refsect3">
<a name="osinfo-install-script-new-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>a unique identifier</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>the profile of script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>templateUri</p></td>
<td class="parameter_description"><p>style sheet URI</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-new-uri.returns"></a><h4>Returns</h4>
<p>an new install script. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-new-data"></a><h3>osinfo_install_script_new_data ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
osinfo_install_script_new_data (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *profile</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *templateData</code></em>);</pre>
<p>Construct a new install script from stylesheet data</p>
<div class="refsect3">
<a name="osinfo-install-script-new-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>a unique identifier</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>the profile of script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>templateData</p></td>
<td class="parameter_description"><p>style sheet data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-new-data.returns"></a><h4>Returns</h4>
<p>an new install script. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-template-uri"></a><h3>osinfo_install_script_get_template_uri ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_get_template_uri
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-template-data"></a><h3>osinfo_install_script_get_template_data ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_get_template_data
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-profile"></a><h3>osinfo_install_script_get_profile ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_get_profile (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-product-key-format"></a><h3>osinfo_install_script_get_product_key_format ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_get_product_key_format
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>If this function returns a non-NULL string, it means that the <em class="parameter"><code>script</code></em>

requires you to specify product registration key through <a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a>
instance passed to script generation methods.</p>
<p>The returned string specifies the expected format of the product key like this:</p>
<p>@ - any character
% - alphabet</p>
<div class="refsect2">
<a name="id-1.2.21.10.8.7"></a><h3>- numeric character</h3>
<p>$ - alphanumeric character</p>
<p>All other characters represent themselves.</p>
<p>For example in case of installer for Microsoft Windows XP, you'll get
"$$$$$-$$$$$-$$$$$-$$$$$-$$$$$". That means a product key consists of 24
alphanumeric characters and 4 '-' characters at (0-based) indices 5, 11, 17
and 23.</p>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-product-key-format.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-product-key-format.returns"></a><h4>Returns</h4>
<p>Product key format mask, or NULL. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-set-output-prefix"></a><h3>osinfo_install_script_set_output_prefix ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_install_script_set_output_prefix
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-output-prefix"></a><h3>osinfo_install_script_get_output_prefix ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_get_output_prefix
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-output-filename"></a><h3>osinfo_install_script_get_output_filename ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_get_output_filename
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Some operating systems are able to use any script filename, allowing the
application to set the filename as desired. libosinfo provides this
functionality by set the expected filename's prefix using
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-set-output-prefix" title="osinfo_install_script_set_output_prefix ()"><code class="function">osinfo_install_script_set_output_prefix()</code></a> function.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-output-filename.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-output-filename.returns"></a><h4>Returns</h4>
<p>the output script filename. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-expected-filename"></a><h3>osinfo_install_script_get_expected_filename ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_get_expected_filename
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Some operating systems (as Windows) expect that script filename has
particular name to work.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-expected-filename.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-expected-filename.returns"></a><h4>Returns</h4>
<p>the expected script filename. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-avatar-format"></a><h3>osinfo_install_script_get_avatar_format ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoAvatarFormat.html" title="OsinfoAvatarFormat"><span class="returnvalue">OsinfoAvatarFormat</span></a> *
osinfo_install_script_get_avatar_format
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Some install scripts have restrictions on the format of the user avatar. Use
this method to retrieve those restrictions in the form of an
<a class="link" href="OsinfoAvatarFormat.html" title="OsinfoAvatarFormat"><span class="type">OsinfoAvatarFormat</span></a> instance.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-avatar-format.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-avatar-format.returns"></a><h4>Returns</h4>
<p>The avatar format, or NULL if there is no restrictions on the
format of avatar. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-async"></a><h3>osinfo_install_script_generate_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_install_script_generate_async (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                      <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                      <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asynchronous variant of <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate" title="osinfo_install_script_generate ()"><code class="function">osinfo_install_script_generate()</code></a>. From the callback,
call <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-finish" title="osinfo_install_script_generate_finish ()"><code class="function">osinfo_install_script_generate_finish()</code></a> to conclude this call and get
the generated script.</p>
<p>If you are generating the script for a specific media, it is recommended that
you use <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-for-media-async" title="osinfo_install_script_generate_for_media_async ()"><code class="function">osinfo_install_script_generate_for_media_async()</code></a> instead.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>the os</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>Function to call when result of this call is ready</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>The user data to pass to <em class="parameter"><code>callback</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-finish"></a><h3>osinfo_install_script_generate_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_generate_finish (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *res</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-install-script-generate-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-finish.returns"></a><h4>Returns</h4>
<p>the generated script, or NULL on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate"></a><h3>osinfo_install_script_generate ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_generate (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates an install script.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>the os</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate.returns"></a><h4>Returns</h4>
<p>the script as string.</p>
<p>If you are generating the script for a specific media, it is recommended
that you use <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-for-media" title="osinfo_install_script_generate_for_media ()"><code class="function">osinfo_install_script_generate_for_media()</code></a> instead. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-output-async"></a><h3>osinfo_install_script_generate_output_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_install_script_generate_output_async
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *output_dir</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asynchronous variant of <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output" title="osinfo_install_script_generate_output ()"><code class="function">osinfo_install_script_generate_output()</code></a>. From the
callback, call <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-finish" title="osinfo_install_script_generate_output_finish ()"><code class="function">osinfo_install_script_generate_output_finish()</code></a> to conclude
this call and get the generated script.</p>
<p>If you are generating the script for a specific media, it is recommended that
you use <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-for-media-async" title="osinfo_install_script_generate_output_for_media_async ()"><code class="function">osinfo_install_script_generate_output_for_media_async()</code></a> instead.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>the os</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_dir</p></td>
<td class="parameter_description"><p>the directory where the file containing the output script
will be written</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>Function to call when result of this call is ready</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>The user data to pass to <em class="parameter"><code>callback</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-output-finish"></a><h3>osinfo_install_script_generate_output_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
osinfo_install_script_generate_output_finish
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *res</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-finish.returns"></a><h4>Returns</h4>
<p>a file containing the script, or NULL on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-output"></a><h3>osinfo_install_script_generate_output ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
osinfo_install_script_generate_output (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                       <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                       <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *output_dir</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates an install script that is written to the returned file.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-output.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>the os entity</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_dir</p></td>
<td class="parameter_description"><p>the directory where the file containing the output script
will be written</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-output.returns"></a><h4>Returns</h4>
<p>a file containing the script</p>
<p>If you are generating the script for a specific media, it is recommended
that you use <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-for-media" title="osinfo_install_script_generate_output_for_media ()"><code class="function">osinfo_install_script_generate_output_for_media()</code></a> instead. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-for-media-async"></a><h3>osinfo_install_script_generate_for_media_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_install_script_generate_for_media_async
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoMedia"><span class="type">OsinfoMedia</span></a> *media</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asynchronous variant of <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-for-media" title="osinfo_install_script_generate_for_media ()"><code class="function">osinfo_install_script_generate_for_media()</code></a>. From the
callback, call <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-for-media-finish" title="osinfo_install_script_generate_for_media_finish ()"><code class="function">osinfo_install_script_generate_for_media_finish()</code></a> to
conclude this call and get the generated script.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-for-media-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p>the media</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>Function to call when result of this call is ready</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>The user data to pass to <em class="parameter"><code>callback</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-for-media-finish"></a><h3>osinfo_install_script_generate_for_media_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_generate_for_media_finish
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *res</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-install-script-generate-for-media-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-for-media-finish.returns"></a><h4>Returns</h4>
<p>the generated script, or NULL on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-for-media"></a><h3>osinfo_install_script_generate_for_media ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_generate_for_media
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoMedia"><span class="type">OsinfoMedia</span></a> *media</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates an install script. The media <em class="parameter"><code>media</code></em>
 must have been identified
successfully using <a class="link" href="OsinfoDb.html#osinfo-db-identify-media" title="osinfo_db_identify_media ()"><code class="function">osinfo_db_identify_media()</code></a> before calling this function.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-for-media.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p>the media</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-for-media.returns"></a><h4>Returns</h4>
<p>the script as string. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-output-for-media-async"></a><h3>osinfo_install_script_generate_output_for_media_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_install_script_generate_output_for_media_async
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoMedia"><span class="type">OsinfoMedia</span></a> *media</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *output_dir</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asynchronous variant of <a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-for-media" title="osinfo_install_script_generate_output_for_media ()"><code class="function">osinfo_install_script_generate_output_for_media()</code></a>.
From the callback, call
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-output-for-media-finish" title="osinfo_install_script_generate_output_for_media_finish ()"><code class="function">osinfo_install_script_generate_output_for_media_finish()</code></a> to conclude this
call and get the generated file.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-for-media-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p>the media</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_dir</p></td>
<td class="parameter_description"><p>the directory where the file containing the output script
will be written</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>Function to call when result of this call is ready</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>The user data to pass to <em class="parameter"><code>callback</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-output-for-media-finish"></a><h3>osinfo_install_script_generate_output_for_media_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
osinfo_install_script_generate_output_for_media_finish
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *res</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-for-media-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>the location where to store any error, or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-for-media-finish.returns"></a><h4>Returns</h4>
<p>a file containing the script, or NULL on error. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-output-for-media"></a><h3>osinfo_install_script_generate_output_for_media ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="returnvalue">GFile</span></a> *
osinfo_install_script_generate_output_for_media
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoMedia"><span class="type">OsinfoMedia</span></a> *media</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GFile.html#GFile-struct"><span class="type">GFile</span></a> *output_dir</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates an install script that is written to the returned file.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-for-media.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p>the media</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_dir</p></td>
<td class="parameter_description"><p>the directory where the file containing the output script
will be written</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-output-for-media.returns"></a><h4>Returns</h4>
<p>a file containing the script. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-command-line"></a><h3>osinfo_install_script_generate_command_line ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_generate_command_line
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>);</pre>
<p>Some install scripts need to pass a command line to the kernel, Such install
scripts belong to OSs that provide paths to the kernel and initrd files that
can be used to directly boot
(http://wiki.qemu.org/download/qemu-doc.html<span class="type">direct_005flinux_005fboot</span>)
the OS in order to pass the needed commandline to it.</p>
<p>If you are generating the command line for a specific media, it is
recommended that you use
<a class="link" href="OsinfoInstallScript.html#osinfo-install-script-generate-command-line-for-media" title="osinfo_install_script_generate_command_line_for_media ()"><code class="function">osinfo_install_script_generate_command_line_for_media()</code></a> instead.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-command-line.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>the os entity</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-command-line.returns"></a><h4>Returns</h4>
<p>The generated command line string, NULL otherwise. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-generate-command-line-for-media"></a><h3>osinfo_install_script_generate_command_line_for_media ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_install_script_generate_command_line_for_media
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoMedia"><span class="type">OsinfoMedia</span></a> *media</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a> *config</code></em>);</pre>
<p>Some install scripts need to pass a command line to the kernel, Such install
scripts belong to OSs that provide paths to the kernel and initrd files that
can be used to directly boot
(http://wiki.qemu.org/download/qemu-doc.html<span class="type">direct_005flinux_005fboot</span>)
the OS in order to pass the needed commandline to it.</p>
<p>The media <em class="parameter"><code>media</code></em>
 must have been identified successfully using
<a class="link" href="OsinfoDb.html#osinfo-db-identify-media" title="osinfo_db_identify_media ()"><code class="function">osinfo_db_identify_media()</code></a> before calling this function.</p>
<div class="refsect3">
<a name="osinfo-install-script-generate-command-line-for-media.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p>the media</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>the install script config</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-generate-command-line-for-media.returns"></a><h4>Returns</h4>
<p>The generated command line string, NULL otherwise. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-has-config-param"></a><h3>osinfo_install_script_has_config_param ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
osinfo_install_script_has_config_param
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallConfigParam.html" title="OsinfoInstallConfigParam"><span class="type">OsinfoInstallConfigParam</span></a> *config_param</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-has-config-param-name"></a><h3>osinfo_install_script_has_config_param_name ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
osinfo_install_script_has_config_param_name
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-config-param"></a><h3>osinfo_install_script_get_config_param ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallConfigParam.html" title="OsinfoInstallConfigParam"><span class="returnvalue">OsinfoInstallConfigParam</span></a> *
osinfo_install_script_get_config_param
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>Get a config param from the config param's list</p>
<div class="refsect3">
<a name="osinfo-install-script-get-config-param.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of the parameter</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-config-param.returns"></a><h4>Returns</h4>
<p>the sought config param, if exists.
NULL otherwise. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-config-param-list"></a><h3>osinfo_install_script_get_config_param_list ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
osinfo_install_script_get_config_param_list
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Get the list of valid config parameters for <em class="parameter"><code>script</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-config-param-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-config-param-list.returns"></a><h4>Returns</h4>
<p>the
list of valid <a class="link" href="OsinfoInstallConfigParam.html" title="OsinfoInstallConfigParam"><span class="type">OsinfoInstallConfigParam</span></a> parameters. Free with
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> when done. The elements are owned by libosinfo. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> OsinfoInstallScript]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-config-params"></a><h3>osinfo_install_script_get_config_params ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallConfigParamList.html" title="OsinfoInstallConfigParamList"><span class="returnvalue">OsinfoInstallConfigParamList</span></a> *
osinfo_install_script_get_config_params
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Get the list of valid config parameters for <em class="parameter"><code>script</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-config-params.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-config-params.returns"></a><h4>Returns</h4>
<p>the list of valid <a class="link" href="OsinfoInstallConfigParam.html" title="OsinfoInstallConfigParam"><span class="type">OsinfoInstallConfigParam</span></a>
parameters. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-path-format"></a><h3>osinfo_install_script_get_path_format ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html#OsinfoPathFormat" title="enum OsinfoPathFormat"><span class="returnvalue">OsinfoPathFormat</span></a>
osinfo_install_script_get_path_format (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-can-pre-install-drivers"></a><h3>osinfo_install_script_get_can_pre_install_drivers ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
osinfo_install_script_get_can_pre_install_drivers
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Whether install script can install drivers at the very beginning of
installation. This is needed for devices for which the OS in question does
not have out of the box support for and devices are required/prefered to be
available during actual installation.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-can-pre-install-drivers.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-can-pre-install-drivers.returns"></a><h4>Returns</h4>
<p> TRUE if install script supports pre-installable drivers, FALSE otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-can-post-install-drivers"></a><h3>osinfo_install_script_get_can_post_install_drivers ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
osinfo_install_script_get_can_post_install_drivers
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-pre-install-drivers-signing-req"></a><h3>osinfo_install_script_get_pre_install_drivers_signing_req ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osinfo_install_script_get_pre_install_drivers_signing_req
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>If install script can install drivers at the very beginning of installation,
this function retrieves the requirement about signed status of drivers.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-pre-install-drivers-signing-req.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-pre-install-drivers-signing-req.returns"></a><h4>Returns</h4>
<p>. </p>
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> OsinfoDeviceDriverSigningReq]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-post-install-drivers-signing-req"></a><h3>osinfo_install_script_get_post_install_drivers_signing_req ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osinfo_install_script_get_post_install_drivers_signing_req
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>If install script can install drivers at the end of installation, this
function retrieves the requirement about signed status of drivers.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-post-install-drivers-signing-req.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-post-install-drivers-signing-req.returns"></a><h4>Returns</h4>
<p>. </p>
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> OsinfoDeviceDriverSigningReq]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-injection-methods"></a><h3>osinfo_install_script_get_injection_methods ()</h3>
<pre class="programlisting">unsigned <span class="returnvalue">int</span>
osinfo_install_script_get_injection_methods
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Retrieve the supported method to inject the script in to the installation process.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-injection-methods.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-injection-methods.returns"></a><h4>Returns</h4>
<p>bitwise-or of
supported methods for install script injection. </p>
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> OsinfoInstallScriptInjectionMethod]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-needs-internet"></a><h3>osinfo_install_script_get_needs_internet ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
osinfo_install_script_get_needs_internet
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<p>Some install scripts cannot ensure that they work without an internet connection.</p>
<div class="refsect3">
<a name="osinfo-install-script-get-needs-internet.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-needs-internet.returns"></a><h4>Returns</h4>
<p> TRUE if script needs an internet connection, FALSE otherwise
internet connection.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-set-preferred-injection-method"></a><h3>osinfo_install_script_set_preferred_injection_method ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_install_script_set_preferred_injection_method
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInjectionMethod" title="enum OsinfoInstallScriptInjectionMethod"><span class="type">OsinfoInstallScriptInjectionMethod</span></a> method</code></em>);</pre>
<p>Set the preferred injection method to be used with the <em class="parameter"><code>script</code></em>
</p>
<div class="refsect3">
<a name="osinfo-install-script-set-preferred-injection-method.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>method</p></td>
<td class="parameter_description"><p>one of the injection methods:
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM,
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK,
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_FLOPPY,
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD,
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_WEB</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-preferred-injection-method"></a><h3>osinfo_install_script_get_preferred_injection_method ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInjectionMethod" title="enum OsinfoInstallScriptInjectionMethod"><span class="returnvalue">OsinfoInstallScriptInjectionMethod</span></a>
osinfo_install_script_get_preferred_injection_method
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-install-script-get-preferred-injection-method.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-preferred-injection-method.returns"></a><h4>Returns</h4>
<p> the preferred injection method for the script. If none is set and
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK is supported,
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK is returned, otherwise
OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD is returned.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-set-installation-source"></a><h3>osinfo_install_script_set_installation_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_install_script_set_installation_source
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>,
                                <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInstallationSource" title="enum OsinfoInstallScriptInstallationSource"><span class="type">OsinfoInstallScriptInstallationSource</span></a> installer</code></em>);</pre>
<p>Set the installation source to be used with the <em class="parameter"><code>script</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-install-script-set-installation-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>source</p></td>
<td class="parameter_description"><p>one of the installation sources:
OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA,
OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_NETWORK</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-install-script-get-installation-source"></a><h3>osinfo_install_script_get_installation_source ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInstallationSource" title="enum OsinfoInstallScriptInstallationSource"><span class="returnvalue">OsinfoInstallScriptInstallationSource</span></a>
osinfo_install_script_get_installation_source
                               (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-install-script-get-installation-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>script</p></td>
<td class="parameter_description"><p>the install script</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-install-script-get-installation-source.returns"></a><h4>Returns</h4>
<p> the installation source to be used with the script. If none is set, it defaults to
OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="OsinfoInstallScript.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROFILE-JEOS:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROFILE_JEOS</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROFILE_JEOS    "jeos"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROFILE-DESKTOP:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROFILE_DESKTOP</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROFILE_DESKTOP "desktop"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-TEMPLATE-URI:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_URI</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_URI       "template-uri"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-TEMPLATE-DATA:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_DATA</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_TEMPLATE_DATA      "template-data"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-PROFILE:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_PROFILE</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_PROFILE            "profile"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-PRODUCT-KEY-FORMAT:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_PRODUCT_KEY_FORMAT</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_PRODUCT_KEY_FORMAT "product-key-format"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-EXPECTED-FILENAME:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_EXPECTED_FILENAME</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_EXPECTED_FILENAME  "expected-filename"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-PATH-FORMAT:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_PATH_FORMAT</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_PATH_FORMAT        "path-format"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-CAN-PRE-INSTALL-DRIVERS:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_CAN_PRE_INSTALL_DRIVERS</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_CAN_PRE_INSTALL_DRIVERS "can-pre-install-drivers"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-CAN-POST-INSTALL-DRIVERS:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_CAN_POST_INSTALL_DRIVERS</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_CAN_POST_INSTALL_DRIVERS "can-post-install-drivers"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-NEEDS-INTERNET:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_NEEDS_INTERNET</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_NEEDS_INTERNET     "needs-internet"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-PRE-INSTALL-DRIVERS-SIGNING-REQ:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_PRE_INSTALL_DRIVERS_SIGNING_REQ</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_PRE_INSTALL_DRIVERS_SIGNING_REQ "pre-install-drivers-signing-req"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-POST-INSTALL-DRIVERS-SIGNING-REQ:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_POST_INSTALL_DRIVERS_SIGNING_REQ</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_POST_INSTALL_DRIVERS_SIGNING_REQ "post-install-drivers-signing-req"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-INJECTION-METHOD:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_INJECTION_METHOD</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_INJECTION_METHOD "injection-method"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-PREFERRED-INJECTION-METHOD:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_PREFERRED_INJECTION_METHOD</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_PREFERRED_INJECTION_METHOD "preferred-injection-method"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-INSTALL-SCRIPT-PROP-INSTALLATION-SOURCE:CAPS"></a><h3>OSINFO_INSTALL_SCRIPT_PROP_INSTALLATION_SOURCE</h3>
<pre class="programlisting">#define OSINFO_INSTALL_SCRIPT_PROP_INSTALLATION_SOURCE "installation-source"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoPathFormat"></a><h3>enum OsinfoPathFormat</h3>
<div class="refsect3">
<a name="OsinfoPathFormat.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-PATH-FORMAT-UNIX:CAPS"></a>OSINFO_PATH_FORMAT_UNIX</p></td>
<td class="enum_member_description">
<p>Unix/Linux path format, e.g /home/foo/bar.txt</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-PATH-FORMAT-DOS:CAPS"></a>OSINFO_PATH_FORMAT_DOS</p></td>
<td class="enum_member_description">
<p>DOS/Windows path format, e.g \My Documents\bar.txt</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoDeviceDriverSigningReq"></a><h3>enum OsinfoDeviceDriverSigningReq</h3>
<div class="refsect3">
<a name="OsinfoDeviceDriverSigningReq.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-DEVICE-DRIVER-SIGNING-REQ-NONE:CAPS"></a>OSINFO_DEVICE_DRIVER_SIGNING_REQ_NONE</p></td>
<td class="enum_member_description">
<p>Script do not require device drivers
to be signed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-DEVICE-DRIVER-SIGNING-REQ-STRICT:CAPS"></a>OSINFO_DEVICE_DRIVER_SIGNING_REQ_STRICT</p></td>
<td class="enum_member_description">
<p>Script must only be given signed
device drivers. Some scripts will allow overriding this requirement through
<a class="link" href="OsinfoInstallConfig.html#osinfo-install-config-set-driver-signing" title="osinfo_install_config_set_driver_signing ()"><span class="type">osinfo_install_config_set_driver_signing</span></a> function. You can query if a
script supports this by checking if
<a class="link" href="OsinfoInstallConfig.html#OSINFO-INSTALL-CONFIG-PROP-DRIVER-SIGNING:CAPS" title="OSINFO_INSTALL_CONFIG_PROP_DRIVER_SIGNING"><span class="type">OSINFO_INSTALL_CONFIG_PROP_DRIVER_SIGNING</span></a> configuration parameter is used
by the script in question (or other scripts in the same profile).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-DEVICE-DRIVER-SIGNING-REQ-WARN:CAPS"></a>OSINFO_DEVICE_DRIVER_SIGNING_REQ_WARN</p></td>
<td class="enum_member_description">
<p>A warning will be issued by OS
installer if device drivers are not signed and most probably require user
input (and thus breaking unattended installation). See
<a class="link" href="OsinfoInstallScript.html#OSINFO-DEVICE-DRIVER-SIGNING-REQ-STRICT:CAPS"><span class="type">OSINFO_DEVICE_DRIVER_SIGNING_REQ_STRICT</span></a> on how this warning can be disabled
for some scripts.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScriptInjectionMethod"></a><h3>enum OsinfoInstallScriptInjectionMethod</h3>
<div class="refsect3">
<a name="OsinfoInstallScriptInjectionMethod.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-INSTALL-SCRIPT-INJECTION-METHOD-CDROM:CAPS"></a>OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM</p></td>
<td class="enum_member_description">
<p>Support injection of the
installation script trough a CD-ROM.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-INSTALL-SCRIPT-INJECTION-METHOD-DISK:CAPS"></a>OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK</p></td>
<td class="enum_member_description">
<p>Support injection of the
installation script trough a disk.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-INSTALL-SCRIPT-INJECTION-METHOD-FLOPPY:CAPS"></a>OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_FLOPPY</p></td>
<td class="enum_member_description">
<p>Support injection of the
installation script trough a floppy disk.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-INSTALL-SCRIPT-INJECTION-METHOD-INITRD:CAPS"></a>OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD</p></td>
<td class="enum_member_description">
<p>Support injection of the
installation script trough the initrd.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-INSTALL-SCRIPT-INJECTION-METHOD-WEB:CAPS"></a>OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_WEB</p></td>
<td class="enum_member_description">
<p>Support injection of the
installation script from the web.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScriptInstallationSource"></a><h3>enum OsinfoInstallScriptInstallationSource</h3>
<div class="refsect3">
<a name="OsinfoInstallScriptInstallationSource.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-INSTALL-SCRIPT-INSTALLATION-SOURCE-MEDIA:CAPS"></a>OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-INSTALL-SCRIPT-INSTALLATION-SOURCE-NETWORK:CAPS"></a>OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_NETWORK</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia-struct"></a><h3>OsinfoMedia</h3>
<pre class="programlisting">typedef struct _OsinfoMedia OsinfoMedia;</pre>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoOs-struct"></a><h3>OsinfoOs</h3>
<pre class="programlisting">typedef struct _OsinfoOs OsinfoOs;</pre>
</div>
</div>
<div class="refsect1">
<a name="OsinfoInstallScript.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="OsinfoMedia--application-id"></a><h3>The <code class="literal">“application-id”</code> property</h3>
<pre class="programlisting">  “application-id”           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Expected application ID (regular expression) for ISO9660 image/device.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--architecture"></a><h3>The <code class="literal">“architecture”</code> property</h3>
<pre class="programlisting">  “architecture”             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The target hardware architecture of this media.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--eject-after-install"></a><h3>The <code class="literal">“eject-after-install”</code> property</h3>
<pre class="programlisting">  “eject-after-install”      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether the media should be ejected after the installation process.</p>
<p>Some distros need their media to not be ejected after the final reboot
during its installation process as some packages are installed after the
reboot (which may cause the media to be ejected, depending on the
application).</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--initrd-path"></a><h3>The <code class="literal">“initrd-path”</code> property</h3>
<pre class="programlisting">  “initrd-path”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The path to the initrd image in the install tree.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--installer"></a><h3>The <code class="literal">“installer”</code> property</h3>
<pre class="programlisting">  “installer”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether media provides an installer for an OS.</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--installer-reboots"></a><h3>The <code class="literal">“installer-reboots”</code> property</h3>
<pre class="programlisting">  “installer-reboots”        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<p>If media is an installer, this property indicates the number of reboots
the installer takes before installation is complete.</p>
<p>This property is not applicable to media that has no installer. You can
use <a class="link" href="OsinfoMedia.html#osinfo-media-get-installer" title="osinfo_media_get_installer ()"><span class="type">osinfo_media_get_installer</span></a>(or OsinfoMedia::installer) to check
that.</p>
<p>Warning: Some media allow you to install from live sessions, in which
case number of reboots *alone* is not a reliable method for tracking
installation.</p>
<p>Flags: Read / Write</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--installer-script"></a><h3>The <code class="literal">“installer-script”</code> property</h3>
<pre class="programlisting">  “installer-script”         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether the media supports installation via an install-script.</p>
<p>Some distros provide a few different medias and not all the medias support
installation via an install script.</p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--kernel-path"></a><h3>The <code class="literal">“kernel-path”</code> property</h3>
<pre class="programlisting">  “kernel-path”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The path to the kernel image in the install tree.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--languages"></a><h3>The <code class="literal">“languages”</code> property</h3>
<pre class="programlisting">  “languages”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
<p>If media is an installer, this property indicates the languages that
can be used during automatic installations.</p>
<p>On media that are not installers, this property will indicate the
languages that the user interface can be displayed in.
Use <a class="link" href="OsinfoMedia.html#osinfo-media-get-installer" title="osinfo_media_get_installer ()"><span class="type">osinfo_media_get_installer</span></a>(or OsinfoMedia::installer) to know
if the media is an installer or not.</p>
<p>Type: GLib.List(utf8)
Transfer: container</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--live"></a><h3>The <code class="literal">“live”</code> property</h3>
<pre class="programlisting">  “live”                     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether media can boot directly an OS without any installations.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--os"></a><h3>The <code class="literal">“os”</code> property</h3>
<pre class="programlisting">  “os”                       <a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *</pre>
<p>Os information for the current media. For media stored in an
<span class="type">OsinfoDB</span>, it will be filled when the database is loaded, otherwise
the property will be filled after a successful call to
<a class="link" href="OsinfoDb.html#osinfo-db-identify-media" title="osinfo_db_identify_media ()"><code class="function">osinfo_db_identify_media()</code></a>.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--publisher-id"></a><h3>The <code class="literal">“publisher-id”</code> property</h3>
<pre class="programlisting">  “publisher-id”             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Expected publisher ID (regular expression) for ISO9660 image/device.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--system-id"></a><h3>The <code class="literal">“system-id”</code> property</h3>
<pre class="programlisting">  “system-id”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Expected system ID (regular expression) for ISO9660 image/device.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--url"></a><h3>The <code class="literal">“url”</code> property</h3>
<pre class="programlisting">  “url”                      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The URL to this media.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--volume-id"></a><h3>The <code class="literal">“volume-id”</code> property</h3>
<pre class="programlisting">  “volume-id”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Expected volume ID (regular expression) for ISO9660 image/device.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoMedia--volume-size"></a><h3>The <code class="literal">“volume-size”</code> property</h3>
<pre class="programlisting">  “volume-size”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Expected volume size, in bytes for ISO9660 image/device.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -2147483648</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoOs--distro"></a><h3>The <code class="literal">“distro”</code> property</h3>
<pre class="programlisting">  “distro”                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The generic distro this OS belongs to, for example fedora, windows,
solaris, freebsd etc.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoOs--family"></a><h3>The <code class="literal">“family”</code> property</h3>
<pre class="programlisting">  “family”                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The generic family this OS belongs to, based upon its kernel,
for example linux, winnt, solaris, freebsd etc.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--avatar-format"></a><h3>The <code class="literal">“avatar-format”</code> property</h3>
<pre class="programlisting">  “avatar-format”            <a class="link" href="OsinfoAvatarFormat.html" title="OsinfoAvatarFormat"><span class="type">OsinfoAvatarFormat</span></a> *</pre>
<p>Expected avatar format.</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--installation-source"></a><h3>The <code class="literal">“installation-source”</code> property</h3>
<pre class="programlisting">  “installation-source”      <a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInstallationSource" title="enum OsinfoInstallScriptInstallationSource"><span class="type">OsinfoInstallScriptInstallationSource</span></a></pre>
<p>The installation source to be used.</p>
<p>Flags: Read</p>
<p>Default value: OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--path-format"></a><h3>The <code class="literal">“path-format”</code> property</h3>
<pre class="programlisting">  “path-format”              <a class="link" href="OsinfoInstallScript.html#OsinfoPathFormat" title="enum OsinfoPathFormat"><span class="type">OsinfoPathFormat</span></a></pre>
<p>Expected path format.</p>
<p>Flags: Read</p>
<p>Default value: OSINFO_PATH_FORMAT_UNIX</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--preferred-injection-method"></a><h3>The <code class="literal">“preferred-injection-method”</code> property</h3>
<pre class="programlisting">  “preferred-injection-method” <a class="link" href="OsinfoInstallScript.html#OsinfoInstallScriptInjectionMethod" title="enum OsinfoInstallScriptInjectionMethod"><span class="type">OsinfoInstallScriptInjectionMethod</span></a></pre>
<p>The preferred injection method.</p>
<p>Flags: Read / Write</p>
<p>Default value: OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--product-key-format"></a><h3>The <code class="literal">“product-key-format”</code> property</h3>
<pre class="programlisting">  “product-key-format”       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Product key format mask.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--profile"></a><h3>The <code class="literal">“profile”</code> property</h3>
<pre class="programlisting">  “profile”                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Install script profile name.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--template-data"></a><h3>The <code class="literal">“template-data”</code> property</h3>
<pre class="programlisting">  “template-data”            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Data for install script template.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoInstallScript--template-uri"></a><h3>The <code class="literal">“template-uri”</code> property</h3>
<pre class="programlisting">  “template-uri”             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>URI for install script template.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="OsinfoInstallScript.see-also"></a><h2>See Also</h2>
<p><a class="link" href="OsinfoInstallConfig.html" title="OsinfoInstallConfig"><span class="type">OsinfoInstallConfig</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>